package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerSpending;
import com.woniuxy.common.entity.ManagerSpendingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerSpendingMapper {
    long countByExample(ManagerSpendingExample example);

    int deleteByExample(ManagerSpendingExample example);

    int deleteByPrimaryKey(String speId);

    int insert(ManagerSpending record);

    int insertSelective(ManagerSpending record);

    List<ManagerSpending> selectByExample(ManagerSpendingExample example);

    ManagerSpending selectByPrimaryKey(String speId);

    int updateByExampleSelective(@Param("record") ManagerSpending record, @Param("example") ManagerSpendingExample example);

    int updateByExample(@Param("record") ManagerSpending record, @Param("example") ManagerSpendingExample example);

    int updateByPrimaryKeySelective(ManagerSpending record);

    int updateByPrimaryKey(ManagerSpending record);
}